package com.hry.store.cms.service;

import com.github.pagehelper.PageInfo;
import com.hry.store.cms.pojo.SecondCategory;

import java.util.List;

public interface SecondCategoryService {
    List<SecondCategory> getByTopCategory(Integer topCategoryId);

    int addSecondCategory(Integer topCategory, String productName);

    PageInfo getAll(Integer pageNum, Integer pageSize);

    void addProductDescBySecondCategoryId(Integer secondCategoryId, String prodcutDesc);
}
